package com.shunda.ysdgj.manager.service.goods;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shunda.ysdgj.model.dto.base.IdsDto;
import com.shunda.ysdgj.model.dto.goods.GoodsSkuFindDto;
import com.shunda.ysdgj.model.entity.goods.GoodsSku;

import java.util.List;

public interface GoodsSkuService {
    public IPage<GoodsSku> findByPage(GoodsSkuFindDto goodsSkuFindDto);
    public boolean add(String token, GoodsSku goodsSku);
    public boolean modify(GoodsSku goodsSku);
    public boolean modifySaleable(GoodsSku goodsSku);
    public boolean modifyValid(GoodsSku goodsSku);
    public boolean deleteByIds(IdsDto idsDto);
    public boolean deleteBySpuIds(List<Long> ids);
}
